/*
 *  @ProductName@
 *  Copyright (C) @CopyrightYear@
 *    National Institute of Advanced Industrial Science and Technology (AIST)
 *    Registration Number: @AISTRegistrationNumber@
 *
 * This program is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */

package jp.go.aist.six.vuln.model.scap.vulnerability;

import jp.go.aist.six.util.orm.Persistable;




/**
 *
 * @author	Akihito Nakamura, AIST
 * @version $Id: CweReference.java 43 2010-05-16 06:52:31Z nakamura5akihito $
 */
public class CweReference
    implements Persistable
{

    private String  _id;
    //{scap-core:cweNamePatternType, required}



    /**
     * Constructor.
     */
    public CweReference()
    {
    }



    /**
     * @return the id
     */
    public String getID()
    {
        return _id;
    }


    /**
     * @param id the id to set
     */
    public void setID(
                    final String id
                    )
    {
        _id = id;
    }



    //**************************************************************
    //  Persistable
    //**************************************************************

    public String getPersistentID()
    {
        return getID();
    }


    public void setPersistentID(
                    final String pid
                    )
    {
        setID( pid );
    }

}
// CweReference
